<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Snake: C:/Documents and Settings/HP_Omistaja/Työpöytä/windowsPeli/winPeliSVN/winPeli/block.h lähdekooditiedosto</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generoinut Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Snake</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pääsivu</span></a></li>
      <li><a href="namespaces.html"><span>Nimiavaruudet</span></a></li>
      <li><a href="annotated.html"><span>Luokat</span></a></li>
      <li class="current"><a href="files.html"><span>Tiedostot</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Tiedostolista</span></a></li>
      <li><a href="globals.html"><span>Tiedoston&#160;jäsenet</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('block_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">C:/Documents and Settings/HP_Omistaja/Työpöytä/windowsPeli/winPeliSVN/winPeli/block.h</div>  </div>
</div>
<div class="contents">
<a href="block_8h.html">Siirry tämän tiedoston dokumentaatioon.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef BLOCK_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define BLOCK_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a><a class="code" href="class_block.html">00011</a> <span class="keyword">class </span><a class="code" href="class_block.html">Block</a>
<a name="l00012"></a>00012 {
<a name="l00013"></a>00013 <span class="keyword">public</span>:
<a name="l00017"></a>00017         <a class="code" href="class_block.html#a3ff2925a4aa73cb9cabe5097b79f636e">Block</a>(<span class="keywordtype">int</span> <a class="code" href="class_block.html#a13d0a6d225233353862fa5adcbadf661">x</a>, <span class="keywordtype">int</span> <a class="code" href="class_block.html#a9328d6b6fcc9f9c019d091d87ceda41c">y</a>);
<a name="l00021"></a>00021         <a class="code" href="class_block.html#a19d1bd0e1cef6a865ed2745a2e648405">~Block</a>();
<a name="l00027"></a>00027         <span class="keywordtype">void</span> <a class="code" href="class_block.html#afb4477d5cbe1847d9258c6d713594e05">jumpTo</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00032"></a>00032         <span class="keywordtype">int</span> <a class="code" href="class_block.html#a527c8f990b4b99dda6f4ca225ee32c14">getX</a>();
<a name="l00037"></a>00037         <span class="keywordtype">int</span> <a class="code" href="class_block.html#a2501c303a7975db005ddc49d9551a51b">getY</a>();
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="keyword">private</span>:
<a name="l00040"></a><a class="code" href="class_block.html#a13d0a6d225233353862fa5adcbadf661">00040</a>         <span class="keywordtype">int</span> <a class="code" href="class_block.html#a13d0a6d225233353862fa5adcbadf661">x</a>;
<a name="l00041"></a><a class="code" href="class_block.html#a9328d6b6fcc9f9c019d091d87ceda41c">00041</a>         <span class="keywordtype">int</span> <a class="code" href="class_block.html#a9328d6b6fcc9f9c019d091d87ceda41c">y</a>;
<a name="l00042"></a>00042 };
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="block_8h.html">block.h</a>      </li>
      <li class="footer">Generoinut projektille Snake Sat Apr 16 2011 19:06:20 &#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
